#ifndef INSTRUMENT_H
#define INSTRUMENT_H

#include <QWidget>
#include <QPainter>
#include <QDebug>

class instrument : public QWidget
{
    Q_OBJECT
public:
    explicit instrument(QWidget *parent = nullptr);

    enum Instrument_type{
        PM_monitor = 0,
        HCHO_monitor = 1,
        humiture_monitor = 2,
        air_monitoring_station = 3,
        air_cleaner = 4,
        visual_presentation = 5
    };



signals:

public slots:
protected:
    void paintEvent(QPaintEvent *);
    bool eventFilter(QObject *watched, QEvent *event);

private:
    QString Image_name;
    QString ins_num;

public slots:
    void set_Image(const Instrument_type &instrument_type);
    void set_string(QString num);

};

#endif // INSTRUMENT_H
